/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package db.factories;

import db.interfaces.BookDAO;
import db.xml.BookXML;

/**
 *
 * @author Peter
 */
public class BookDAOFactory {

    public static enum DAOTYPE{ XML, JDBC };

    public static BookDAO getDAO(DAOTYPE type)
    {
        switch(type)
        {
            case JDBC:
            case XML:

            default:
            return null;
        }

    }

    public static BookDAO getDAO(DAOTYPE type, String source)
    {
        switch(type)
        {
            case JDBC:
            case XML:

            default:
            return null;
        }

    }
}
